package com.myexam.model;

import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Teacher {

	private String teacherID;
	private String password;
	private String teacherName;
	@Id
	public String getTeacherID() {
		return teacherID;
	}

	public void setTeacherID(String teacherID) {
		this.teacherID = teacherID;
	}
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	@Override
	public String toString() {
		return "Teacher [password=" + password + ", teacherID=" + teacherID + "]";
	}

}
